package com.masterclient.app.businessmodule.settingmodule.crossborder.contract;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.masterclient.app.businessmodule.settingmodule.auth.bean.CustomerOcrBean;
import com.masterclient.app.businessmodule.settingmodule.crossborder.model.CrossBorderListBean;

import java.io.File;


public interface ManageCrossBorderContract {

    interface View extends IFCBaseView {
        void customer_cross_border_list_success(CrossBorderListBean bean);
        void customer_cross_border_list_failed(String msg);
        void showDeleteSuccess();
        void showDeleteFailed();
        void changeDefaultSuccess();
        void changeDefaultfailed();
        void cross_border_manage_result(String sh_manage_state,String msg);
        void OnNewOcrResult(CustomerOcrBean bean);
        void OnNewOcrResultFail(String msg);
    }
    abstract static class Presenter extends FCBasePresenter<View> {

        //获取列表
        public abstract void customs_ocr(File images,String type);
        public abstract void customer_cross_border_list(String page);
        public abstract void customer_cross_border_del(String id);
        public abstract void set_cross_border_default(String id);
        public abstract void cross_border_manage(String id, String is_default, String real_name, String identity_card, String frontInfo, String backInfo);

    }
}